from django.conf.urls import url
from . import views

urlpatterns = [
    url('^qq/login/$', views.OAuthQQView.as_view()),
    url('^oauth_callback$', views.QQURLView.as_view()),
    # 获取新浪登录页面连接
    url('^sina/login/$', views.SinaView.as_view()),
    # 绑定新浪账户
    url('^sina_callback$', views.SinaURLView.as_view()),
]